import javax.swing.JFrame;
import javax.swing.WindowConstants;

public class StartGame {

    public static void main(String[] args) {
        JFrame Frame = new JFrame();

        Frame.setBounds(10, 10, 900, 720);
        Frame.setResizable(false);//窗口大小不可变
        Frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);

        //正常的游戏界面应该都在面板上
        Frame.add(new GamePanel());

        Frame.setVisible(true);
    }

}